home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
misc
/
emu
/
ATUtilities.lha
/
ATUtilities
/
BASIC
/
UPDATE.BAS
< prev
next >
Wrap
BASIC Source File
|
2000-09-26
|
894b
|
59 lines
$STRING 1
$INCLUDE "REGNAMES.INC"
GemDOS$="GemDOS-V1.0"
if command$<>GemDOS$ then
screen 12
reg %ax,0
call interrupt &H33
reg %ax,1
call interrupt &H33
end if
x=15 *8
y=12 *16
w=50 *8
h=6 *16
x1=x
x2=x+w
y1=y
y2=y+h
req=6+int(y2-y1+1)*2*int((x2-y1+16)/16)*4
dim dynamic win%(req)
call MouseOff
get (x1,y1)-(x2,y2),win%
line (x1,y1)-(x2,y2),0,bf
line (x1,y2)-(x1,y1),15
line -(x2,y1),15
line (x1+1,y2)-(x2,y2),7
line -(x2,y1+1),7
color 15
t$="Disk Transfer - Update"
locate 14,17+(46-len(t$))/2
print t$
locate 16,19
print "Die noch im Cache befindlichen Daten werden"
locate 17,19
print "auf die Datentr„ger geschrieben..."
call MouseOn
delay 5
call MouseOff
put (x1,y1),win%,pset
call MouseOn
end
sub MouseOff shared
reg %ax,2
call interrupt &H33
end sub
sub MouseOn shared
reg %ax,1
call interrupt &H33
end sub